package com.westos.userauth.dto;

import com.westos.userauth.domain.PartyRelationship;
import com.westos.userauth.domain.PartyRole;

import java.util.Date;

public class RoleDto {
    private PartyRelationship partyRelationship;
    private PartyRole partyRole;
    private String relationshipName;
    private String roleTypeId;
    private Date fromDate;
    private Date thruDate;


    public RoleDto() {
    }

    public RoleDto(PartyRelationship partyRelationship, PartyRole partyRole, String relationshipName, String roleTypeId, Date fromDate,Date thruDate ) {
        this.partyRelationship = partyRelationship;
        this.partyRole = partyRole;
        this.relationshipName = relationshipName;
        this.roleTypeId = roleTypeId;
        this.fromDate = fromDate;
        this.thruDate = thruDate;
    }


    public Date getThruDate() {
        return thruDate;
    }

    public void setThruDate(Date thruDate) {
        this.thruDate = thruDate;
    }

    public Date getFromDate() {
        return fromDate;
    }

    public void setFromDate(Date fromDate) {
        this.fromDate = fromDate;
    }

    public PartyRelationship getPartyRelationship() {
        return partyRelationship;
    }

    public void setPartyRelationship(PartyRelationship partyRelationship) {
        this.partyRelationship = partyRelationship;
    }

    public PartyRole getPartyRole() {
        return partyRole;
    }

    public void setPartyRole(PartyRole partyRole) {
        this.partyRole = partyRole;
    }

    public String getRelationshipName() {
        return relationshipName;
    }

    public void setRelationshipName(String relationshipName) {
        this.relationshipName = relationshipName;
    }

    public String getRoleTypeId() {
        return roleTypeId;
    }

    public void setRoleTypeId(String roleTypeId) {
        this.roleTypeId = roleTypeId;
    }
}
